/*
 * @Author       : NaN 353362604@qq.com
 * @Date         : 2023-08-16 08:55:42
 * @LastEditTime : 2023-08-27 13:31:55
 * @LastEditors  : NaN 353362604@qq.com
 * @FilePath     : \AdminStration\src\Pages\Front\jtgj\Other\SixA03.jsx
 * @Description  :
 */
import { CommonSmallTitle } from '../../Assets/Common/SmallTitle'
import { Http } from '../../../../Common/Api'
import { LivePage } from '../../Assets/Template/HLSSource'
import { useEffect, useState } from 'react'
import { useRequest } from 'ahooks'
export const SixA03 = () => {
    const { runAsync: getLiveVideos } = useRequest(Http, { manual: true, onSuccess: ({ list }) => setLiveList(list) })
    useEffect(() => {
        getLiveVideos({ url: 'getLiveVideos' })
    }, [getLiveVideos])
    const [LiveList, setLiveList] = useState()

    return (
        <CommonSmallTitle title="直播中的无人机画面">
            <LivePage data={LiveList} />
        </CommonSmallTitle>
    )
}
